<img alt="" id="mainImage" src="<?php echo scripts_url().$page["images"][0]["name"]; ?>" />
<a href="#" title="" class="viewGallery">vezi imaginile mai mari</a>
<div class="productImageThumbs">
<?php foreach($page["images"] as $image):?>
	<a href="<?php echo scripts_url().$image["name"]; ?>" title="" class="thumbImage">
		<img class="img-responsive" alt="" src="<?php echo scripts_url().$image["thumb_name"]; ?>" />
	</a>
<?php endforeach; ?>
</div>
